
import inquirer from 'inquirer'
import { automaticCheckIn } from './automaticCheckIn.js'
import {manualCheckIn} from './manualCheckIn.js'
export const signIn = async () => {
  const options = [
    {
      type: "list",
      message: "请选择要进行的操作：",
      name: "action",
      choices: ["手动签到", '自动签到'],
    },
  ];
  const answers = await inquirer.prompt(options)
  switch (answers.action) {
    case "手动签到":
      manualCheckIn();
      break;
    case "自动签到":
      automaticCheckIn();
      break;
  }
}